home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MIDICraft's MIDINET CD-ROM
/
MIDICraft's MIDINET CD-ROM.iso
/
DOSUTILS
/
MIDIGRAB.DOC
< prev
next >
Wrap
Text File
|
1995-10-21
|
4KB
|
108 lines
******************************
MIDIGRAB v1.0
grab midi files from uncompressed archives
extracts midi from rmi, macintosh midi, games
by Guenter Nagler
1995
(gnagler@ihm.tu-graz.ac.at)
******************************
[1] BACKGROUND
Some file formats contain standard midi. But they only can be used
by certain programs that can handle the special file structure.
For example RIFF midi files contain a standard midi and have a 12 byte
header that is only used by Microsoft MCI player. Sometimes I get
midi files from Macintosh users, where the author has forgotten to
remove the macintosh specific header.
MIDIGRAB reads such files and extracts standard midi that are placed
uncompressed at any location inside the file.
[2] FILES DESCRIPTION
MIDIGRAB.EXE..........MSDOS executable fixes structure bugs in midifiles
MIDIGRAB.DOC..........this file, showing usage of MIDIGRAB.EXE
MIDIGRAB.CPP..........C/C++ source code for midigrab (DOS/UNIX)
only MIDIGRAB.EXE is required to run program
[3] COPYRIGHT
MIDIGRAB (c) 1995 was created by Guenter Nagler.
MIDIGRAB is free and may be used as you wish with this one exception:
You may NOT charge any fee or derive any profit for distribution
of MIDIGRAB. Thus, you may NOT sell or bundle MIDIGRAB with any
product in a retail environment (shareware disk distribution, CD-ROM,
etc.) without permission of the author.
You may give MIDIGRAB to your friends, upload it to a BBS, or ftp it to
another internet site, as long as you don't charge anything for it.
[4] DISCLAIMER
MIDIGRAB does not check the contents of a midi file.
So it may extract invalid midi files.
Use MIDITXT -e to check the midi file content.
Use MIDIGRAB at your own risk. Anything you do with MIDIGRAB is your
responsibility, and not the author's. Any damage caused to any person,
computer, software, hardware, company, or business by running MIDIGRAB
is your responsibility, and the author will not be liable.
If you don't understand these terms, or are not sure of something, or
are afraid something bad might come of using MIDIGRAB, don't use it!
You are here forewarned.
[5] INSTALLATION
[MSDOS]
Simply copy MIDIGRAB.EXE in a directory that is in your path.
When you start the program without arguments
C:\> MIDIGRAB
you should get the usage text (see next section)
[UNIX]
compile sources with your C++ compiler (e.g. GNU Compiler g++):
g++ -o midigrab midigrab.cpp
and run program
$ midigrab
[6] USAGE
usage: MIDIGRAB filename ...
It needs one or more filenames as argument. Under DOS system wildcards
are not allowed, under UNIX the system will care for interpretation.
The files are used for input only and are not changed.
MIDIGRAB writes midi files to next unused filename grab1.mid, grab2.mid, etc.
[7] OUTPUT MESSAGES
When MIDIGRAB finds something that looks like a standard midi, it writes:
* midi found: writing to grab1.mid
* midi found: writing to grab2.mid
When MIDIGRAB does not find a midi, it answers
* Sorry, no standard midi found
[8] SUGGESTIONS / COMMENTS / BUG REPORTS / QUESTIONS
WWW: http://hgiicm.tu-graz.ac.at/Cpub
contains all my dos/unix midi programs
EMAIL: gnagler@ihm.tu-graz.ac.at
[9] USE
extract midi from:
* RIFF midi files (*.rmi)
* Macintosh midi files that have the 128 bytes mac header (*.mid)
* few applications (games) that store their music as midi without
compression.